package p2;

/**
 * @author krystal
 * @date 2022/11/9 18:05
 */
public class Demo7 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        System.out.println(a ^ b);  //30
//        System.out.println(a & b);  //0
//        System.out.println(a | b);  //30

//        int a = 0xf;
//        System.out.printf("%x\n",~a);  //0
    }
}
